import time

from tzhhone_reptile.url_manager import UrlManager
from tzhhone_reptile.html_downloader import HtmlDownLoader
from tzhhone_reptile.html_parser import HtmlParser
# 按间距中的绿色按钮以运行脚本。
if __name__ == '__main__':

    while True:
        url = UrlManager()
        token = url.start()
        html_down = HtmlDownLoader(token)
        bsc = html_down.start()
        html_parser = HtmlParser(bsc)
        html_parser.start()
        time.sleep(3)
